package com.xsyz.review.aopanno;

import org.springframework.stereotype.Component;

/**
 * @author xsyz
 * @created 2020-12-27   16:21
 */
@Component
public class User1 {

    public User1() {
    }

    public void add() throws Throwable {
        System.out.println("执行了add方法");
        throw new Throwable("123");

    }

}
